<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html lang="true">
<head>  
  <title>商店/新增</title>
  <%@ include file="../link_script.jsp" %>
  <script type="text/javascript">
    $(function() { 
      $("form").validity(function() {
        $("#shopName").require();
      });
    });
  </script>
</head>
<body> 
<form action="shop.do?method=addShop_Do" method="post" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#b5d6e6">       
          <tr>
            <td width="100%" class="STYLE32">新增商店</td>
          </tr>
          <tr>
            <td class="STYLE1"><table width="100%" border="0" bordercolor="#b5d6e6" cellpadding="0" cellspacing="0">
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;商店名称 : </td>
                <td class="STYLE11"><input type="text" id="shopName" name="shopName" size="20" title="商店称不能为空" /></td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;商店代码 : </td>
                <td class="STYLE11"><input type="text" id="shopCode" name="shopCode" value="${shopCode}" size="20" readonly /></td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;地址: </td>
                <td class="STYLE11"><input type="text" id="shopAddress" name="shopAddress" size="50" /></td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;描述 : </td>
                <td class="STYLE11"><textarea id="shopDesc" name="shopDesc" cols="42" rows="6" style="font-family:宋体;font-size:12px"></textarea></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td class="STYLE12"><input type="submit" value="提交"/><input type="reset" value="取消"/></td>
          </tr>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@include file="../no_page.jsp" %>
</table>
</form>
</body>
</html:html>
